<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String appUrl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath();
%>
<h1>子应用JSP-iframe模式 测试父窗口方法</h1>
<button onclick="handleLogout()">token过期时调用父窗口退出方法</button>
<script>
    function handleLogout() {
        if (window.webJssdk) {
            window.webJssdk.emit('logOut')
        }
    }
</script>
